package com.study.zzedu.entity;

/**
 * Created by kiros on 2020/9/9.
 */

public class DiscussItem {
    private String id;
    private int views;// 浏览量
    private String title; // 标题
    private String pubdate;// 发布时间
    private String courseCode;// 课程号
    private Boolean top;//true // 是否置顶
    private int comments;// 评论量

    public DiscussItem(String id, int views, String title, String pubdate, String courseCode, Boolean top, int comments) {
        this.id = id;
        this.views = views;
        this.title = title;
        this.pubdate = pubdate;
        this.courseCode = courseCode;
        this.top = top;
        this.comments = comments;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getViews() {
        return views;
    }

    public void setViews(int views) {
        this.views = views;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPubdate() {
        return pubdate;
    }

    public void setPubdate(String pubdate) {
        this.pubdate = pubdate;
    }

    public String getCourseCode() {
        return courseCode;
    }

    public void setCourseCode(String courseCode) {
        this.courseCode = courseCode;
    }

    public Boolean getTop() {
        return top;
    }

    public void setTop(Boolean top) {
        this.top = top;
    }

    public int getComments() {
        return comments;
    }

    public void setComments(int comments) {
        this.comments = comments;
    }
}
